<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no">
  <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon">
  <link rel="stylesheet" href="../fonts/font-awesome-4.7.0/css/font-awesome.css">
  <link rel="stylesheet" href="../lib/bootstrap/css/bootstrap.css">
  <link rel="stylesheet" href="../css/base.css">
  <link rel="stylesheet" href="../css/gsproduct.css">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>

<body>
  <!-- 凑单品头部 -->
  <div class="get_head">
    <a href="../index.html" class="glyphicon glyphicon-menu-left"></a>
    凑单品
    <a href="javascript:;"><img src="../images/header_app.png" alt=""></a>
  </div>
  <!-- 凑单品主体 -->
  <div class="getshop_main">
    <!-- 主体头部 -->
    <div class="gs_head">
      <div class="gs_head_nav">
        <!-- <a href="javascript:;" data-shop="0">京东<i class="glyphicon glyphicon-triangle-top"></i></a>
        <a href="javascript:;" data-area="0">华北<i class="glyphicon glyphicon-triangle-bottom"></i></a>
        <a href="javascript:;" data-price="0">1元<i class="glyphicon glyphicon-triangle-bottom"></i></a> -->

      </div>
      <div class="gs_head_search">
        <i class="fa fa-list"></i>
      </div>
    </div>
    <!--主体下拉栏 -->
    <div class="gs_select">
      <div class="popsort" id="shop">
        <ul>
          <!--下拉栏商户列表模板 shop_tmp -->
        </ul>
      </div>
      <div class="popsort" id="area">
        <ul>


        </ul>
      </div>
      <div class="popsort" id="price">
        <ul>
          <li>
            <a href="javascript:;">全部价格</a>
          </li>
        </ul>
      </div>
    </div>
  </div>
  <!-- 凑单品详情 -->
  <div class="getshop_detail">
    <ul class="container">
      <!-- 商品详情detail_tmp -->
    </ul>
  </div>


</body>
<script src="../lib/bootstrap/js/jquery.1.12.4.js"></script>
<script src="../lib/bootstrap/js/bootstrap.js"></script>
<script src="../lib/art-template/template-web.js"></script>
<!-- <script src="../lib/zepto/src/zepto.js"></script>
<script src="../lib/zepto/src/event.js"></script>
<script src="../lib/zepto/src/touch.js"></script>
<script src="../lib/zepto/src/ajax.js"></script> -->

<script src="../js/gsproduct.js"></script>

</html>
<script type="text/template" id="shop_tmp">
  {{each result val key}}
    <li>
      <a href="javascript:;" data-shopId="{{key}}">{{val.shopName}}</a>
    </li>
  {{/each}}
</script>
<script type="text/template" id="area_tmp">
  {{each result val key}}
    <li>
      <a href="javascript:;" data-areaId="{{key}}">{{val.areaName}}</a>
    </li>
  {{/each}}
</script>
<script type="text/template" id="detail_tmp">
  {{each result val key}}
<li><a href="https://item.m.jd.com/ware/view.action?wareId=1274360">
    <div class="pic">
    <img src="{{val.productImg}}" alt="">
    </div>
    <div class="title">{{val.name}}</div>
    <div class="other">
    <div class="price">{{val.productPrice}}</div>
      <div class="btn">去凑单</div>
    </div>
  </a></li>
{{/each}}
</script>